package mapred;

import org.apache.hadoop.mapred.Reducer;

@SuppressWarnings("unchecked")
public class CombineConfig {

	private Class<? extends Reducer> combinerClass;

	private CombineConfig(Class<? extends Reducer> combinerClass) {
		this.combinerClass = combinerClass;
	}
	
	public static CombineConfig newInstance(Class<? extends Reducer> combinerClass) {
		return new CombineConfig(combinerClass);
	}
	
	public Class<? extends Reducer> getCombinerClass() {
		return combinerClass;
	}

}
